Skip to content

feat: Add OCIVPN entity definition (staging)#3065

Open
aprasad-sketch wants to merge 3 commits into
newrelic:mainfrom
aprasad-sketch:feat/oci-ocivpn-entity
Open

feat: Add OCIVPN entity definition (staging)#3065
aprasad-sketch wants to merge 3 commits into
newrelic:mainfrom
aprasad-sketch:feat/oci-ocivpn-entity

Conversation

@aprasad-sketch

Copy link
Copy Markdown
Contributor

Add OCI Site-to-Site VPN (IPSec) entity definition with synthesis rule, golden metrics, and summary metrics. Staging (.stg.yml / .stg.json).

Entity Type

  • Type: INFRA-OCIVPN
  • Provider: OCI (Oracle Cloud Infrastructure)
  • Namespace: oci_vpn
  • Synthesis: identifier oci.resourceId (prefix ocid1.ipsecconnection), name oci.resourceName; one entity per IPSec connection (tunnels distinguished by publicIp dimension)

Golden Metrics

  • IPSec Tunnel State (oci.vpn.tunnel.state)
  • Bytes Sent / Bytes Received (oci.vpn.bytes.sent / oci.vpn.bytes.received)
  • Packets with Errors (oci.vpn.packets.error)

Metric Source

https://docs.oracle.com/en-us/iaas/Content/Network/Reference/ipsecmetrics.htm

Validated locally with the repo's ajv schema validators + validate-folders + validate-rules (all pass).

entityBot
entityBot previously approved these changes Jul 21, 2026

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beep boop bop.

I have found some errors processing these changes:

  • Error VALIDATING domainType: 'INFRA-OCIVPN' on synthesis - Exception: No entity matches 'INFRA-OCIVPN' synthesis rules for the given test data: 'MetricRaw.json file - #1' data point. Please review test data and synthesis rules.
  • We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

@entityBot
entityBot requested a review from a team July 23, 2026 09:04
mborroni
mborroni previously approved these changes Jul 23, 2026
mborroni
mborroni previously approved these changes Jul 23, 2026
@entityBot
entityBot dismissed stale reviews from dachepallysaikirannewrelic, mborroni, mborroni, and themself July 23, 2026 13:34

Dismissing reviews

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beep boop bop.

I have found some errors processing these changes:

  • Error VALIDATING domainType: 'INFRA-OCIVPN' on synthesis - Exception: No entity matches 'INFRA-OCIVPN' synthesis rules for the given test data: 'MetricRaw.json file - #1' data point. Please review test data and synthesis rules.
  • We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

@entityBot
entityBot requested a review from a team July 23, 2026 13:34
Add OCI Site-to-Site VPN (IPSec) entity definition with:
- Entity definition with synthesis rule (prefix ocid1.ipsecconnection, namespace oci_vpn)
- Golden metrics (tunnel state, bytes sent/received, packets with errors)
- Summary metrics
- Test data
- Using .stg.yml/.stg.json suffix (staging only)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aprasad-sketch
aprasad-sketch force-pushed the feat/oci-ocivpn-entity branch from b8b2ec9 to d808704 Compare July 23, 2026 13:43

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

@entityBot entityBot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants